--TEST--
PHP Spec test generated from ./expressions/relational_operators/comparisons5.php
--FILE--
<?php

/*
   +-------------------------------------------------------------+
   | Copyright (c) 2014 Facebook, Inc. (http://www.facebook.com) |
   +-------------------------------------------------------------+
*/

error_reporting(0);

///*
// Two array types

$oper1 = array([], [10,20], ["red"=>0,"green"=>0]);
$oper2 = array([], [10,20], [10,20,30], [10,30], ["red"=>0,"green"=>0], ["green"=>0,"red"=>0]);

foreach ($oper1 as $e1)
{
	foreach ($oper2 as $e2)
	{
		echo "{$e1} >        {$e2}  result: "; var_dump($e1 > $e2);
		echo "{$e2} <=       {$e1}  result: "; var_dump($e2 <= $e1);
		echo "---\n";
		echo "{$e1} >=       {$e2}  result: "; var_dump($e1 >= $e2);
		echo "{$e2} <        {$e1}  result: "; var_dump($e2 < $e1);
		echo "---\n";
		echo "{$e1} <        {$e2}  result: "; var_dump($e1 < $e2);
		echo "{$e2} >=       {$e1}  result: "; var_dump($e2 >= $e1);
		echo "---\n";
		echo "{$e1} <=       {$e2}  result: "; var_dump($e1 <= $e2);
		echo "{$e2} >        {$e1}  result: "; var_dump($e2 > $e1);
		echo "=======\n";
	}
	echo "-------------------------------------\n";
}
//*/
--EXPECTF--
Array >        Array  result: bool(false)
Array <=       Array  result: bool(true)
---
Array >=       Array  result: bool(true)
Array <        Array  result: bool(false)
---
Array <        Array  result: bool(false)
Array >=       Array  result: bool(true)
---
Array <=       Array  result: bool(true)
Array >        Array  result: bool(false)
=======
Array >        Array  result: bool(false)
Array <=       Array  result: bool(false)
---
Array >=       Array  result: bool(false)
Array <        Array  result: bool(false)
---
Array <        Array  result: bool(true)
Array >=       Array  result: bool(true)
---
Array <=       Array  result: bool(true)
Array >        Array  result: bool(true)
=======
Array >        Array  result: bool(false)
Array <=       Array  result: bool(false)
---
Array >=       Array  result: bool(false)
Array <        Array  result: bool(false)
---
Array <        Array  result: bool(true)
Array >=       Array  result: bool(true)
---
Array <=       Array  result: bool(true)
Array >        Array  result: bool(true)
=======
Array >        Array  result: bool(false)
Array <=       Array  result: bool(false)
---
Array >=       Array  result: bool(false)
Array <        Array  result: bool(false)
---
Array <        Array  result: bool(true)
Array >=       Array  result: bool(true)
---
Array <=       Array  result: bool(true)
Array >        Array  result: bool(true)
=======
Array >        Array  result: bool(false)
Array <=       Array  result: bool(false)
---
Array >=       Array  result: bool(false)
Array <        Array  result: bool(false)
---
Array <        Array  result: bool(true)
Array >=       Array  result: bool(true)
---
Array <=       Array  result: bool(true)
Array >        Array  result: bool(true)
=======
Array >        Array  result: bool(false)
Array <=       Array  result: bool(false)
---
Array >=       Array  result: bool(false)
Array <        Array  result: bool(false)
---
Array <        Array  result: bool(true)
Array >=       Array  result: bool(true)
---
Array <=       Array  result: bool(true)
Array >        Array  result: bool(true)
=======
-------------------------------------
Array >        Array  result: bool(true)
Array <=       Array  result: bool(true)
---
Array >=       Array  result: bool(true)
Array <        Array  result: bool(true)
---
Array <        Array  result: bool(false)
Array >=       Array  result: bool(false)
---
Array <=       Array  result: bool(false)
Array >        Array  result: bool(false)
=======
Array >        Array  result: bool(false)
Array <=       Array  result: bool(true)
---
Array >=       Array  result: bool(true)
Array <        Array  result: bool(false)
---
Array <        Array  result: bool(false)
Array >=       Array  result: bool(true)
---
Array <=       Array  result: bool(true)
Array >        Array  result: bool(false)
=======
Array >        Array  result: bool(false)
Array <=       Array  result: bool(false)
---
Array >=       Array  result: bool(false)
Array <        Array  result: bool(false)
---
Array <        Array  result: bool(true)
Array >=       Array  result: bool(true)
---
Array <=       Array  result: bool(true)
Array >        Array  result: bool(true)
=======
Array >        Array  result: bool(false)
Array <=       Array  result: bool(false)
---
Array >=       Array  result: bool(false)
Array <        Array  result: bool(false)
---
Array <        Array  result: bool(true)
Array >=       Array  result: bool(true)
---
Array <=       Array  result: bool(true)
Array >        Array  result: bool(true)
=======
Array >        Array  result: bool(false)
Array <=       Array  result: bool(false)
---
Array >=       Array  result: bool(false)
Array <        Array  result: bool(false)
---
Array <        Array  result: bool(false)
Array >=       Array  result: bool(false)
---
Array <=       Array  result: bool(false)
Array >        Array  result: bool(false)
=======
Array >        Array  result: bool(false)
Array <=       Array  result: bool(false)
---
Array >=       Array  result: bool(false)
Array <        Array  result: bool(false)
---
Array <        Array  result: bool(false)
Array >=       Array  result: bool(false)
---
Array <=       Array  result: bool(false)
Array >        Array  result: bool(false)
=======
-------------------------------------
Array >        Array  result: bool(true)
Array <=       Array  result: bool(true)
---
Array >=       Array  result: bool(true)
Array <        Array  result: bool(true)
---
Array <        Array  result: bool(false)
Array >=       Array  result: bool(false)
---
Array <=       Array  result: bool(false)
Array >        Array  result: bool(false)
=======
Array >        Array  result: bool(false)
Array <=       Array  result: bool(false)
---
Array >=       Array  result: bool(false)
Array <        Array  result: bool(false)
---
Array <        Array  result: bool(false)
Array >=       Array  result: bool(false)
---
Array <=       Array  result: bool(false)
Array >        Array  result: bool(false)
=======
Array >        Array  result: bool(false)
Array <=       Array  result: bool(false)
---
Array >=       Array  result: bool(false)
Array <        Array  result: bool(false)
---
Array <        Array  result: bool(true)
Array >=       Array  result: bool(true)
---
Array <=       Array  result: bool(true)
Array >        Array  result: bool(true)
=======
Array >        Array  result: bool(false)
Array <=       Array  result: bool(false)
---
Array >=       Array  result: bool(false)
Array <        Array  result: bool(false)
---
Array <        Array  result: bool(false)
Array >=       Array  result: bool(false)
---
Array <=       Array  result: bool(false)
Array >        Array  result: bool(false)
=======
Array >        Array  result: bool(false)
Array <=       Array  result: bool(true)
---
Array >=       Array  result: bool(true)
Array <        Array  result: bool(false)
---
Array <        Array  result: bool(false)
Array >=       Array  result: bool(true)
---
Array <=       Array  result: bool(true)
Array >        Array  result: bool(false)
=======
Array >        Array  result: bool(false)
Array <=       Array  result: bool(true)
---
Array >=       Array  result: bool(true)
Array <        Array  result: bool(false)
---
Array <        Array  result: bool(false)
Array >=       Array  result: bool(true)
---
Array <=       Array  result: bool(true)
Array >        Array  result: bool(false)
=======
-------------------------------------
